Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
JS Hello Week "ReferenceError: HelloWeek is not defined"

I want to use this library : https://hello-week.vercel.app/

I'm having a hard time to understand how to use it. I know JS and I never used Typescript or Nodejs. I found the .js and .css of this library but it's seems not to work "calendar.js:1 Uncaught ReferenceError: HelloWeek is not defined"

Can I included like a normal js file ?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Yes the installation guide is not really clear, here is how to get it done:

First of all this line is simply wrong

new Hello Week({

There should not be a space there, do this instead

new HelloWeek({

Also, you will need the language file. Ether host it in its particular directory hierarchy or use the langFolder option to specify where it is.

dist

-- langs

-- -- en.json

Finally, this dose not work when not in a server due to a CORS issue. Serve the files through a server and you will have it working.

about 4 years ago · Juan Pablo Isaza Report

0

You can find the basic usage in the Installation page of the docs. Just ensure to reference hello.week.min.js, hello.week.min.css and hello.week.theme.min.css. Typescript or Node.JS don't seem to be necessary.

Here is a quick HTML + JS example:

<link href="hello.week.min.css" rel="stylesheet" />
<link href="hello.week.theme.min.css" rel="stylesheet" />

<div class="calendar"></div>

<script type="text/javascript" src="hello.week.min.js"></script>
<script>
    new Hello Week({
      selector: '.calendar'
    });
</script>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!